import unittest
from BeautifulReport import BeautifulReport

if __name__ == '__main__':
    # 创建测试用例集
    test_suite = unittest.defaultTestLoader.discover('../utest', pattern='MyTest*.py')
    result = BeautifulReport(test_suite)
    result.report(filename='测试报告', description='特斯汀单元测试报告', log_path='')